﻿<phone:PhoneApplicationPage 
    x:Class="Puzzle.GamePage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait"
    mc:Ignorable="d" d:DesignHeight="768" d:DesignWidth="480"
    shell:SystemTray.IsVisible="True">

    <!--LayoutRoot is the root grid where all page content is placed-->
    <Grid x:Name="LayoutRoot" Style="{StaticResource GridLayoutRoot}">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <!--TitlePanel contains the name of the application and page title-->
        <StackPanel x:Name="TitlePanel" Grid.Row="0" Margin="12,17,0,28">
            <TextBlock Text="Slide Number" Padding="30,0,0,0" />
            <TextBlock x:Name="lblTempo" Text="00:00" FontSize="26" HorizontalAlignment="Right" Padding="0,0,30,0" />
        </StackPanel>

        <!--ContentPanel - place additional content here-->
        <StackPanel Grid.Row="1">
        <Grid x:Name="ContentPanel" Margin="12,0,12,0" ShowGridLines="True">
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto" />
                <RowDefinition Height="Auto" />
                <RowDefinition Height="Auto" />
                <RowDefinition Height="Auto" />
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition MinWidth="110" Width="Auto" />
                <ColumnDefinition MinWidth="110" Width="Auto" />
                <ColumnDefinition MinWidth="110" Width="Auto" />
                <ColumnDefinition MinWidth="110" Width="Auto" />
            </Grid.ColumnDefinitions>
            <Button Grid.Row="0" Grid.Column="0" x:Name="btn1" Width="110" Height="110" Padding="0">
                <Button.Content>
                    <Image Source="/Puzzle;component/Numeros/01.jpg" Stretch="Fill"></Image>
                </Button.Content>
            </Button>
            <Button Grid.Row="0" Grid.Column="1" x:Name="btn2" Width="110" Height="110" Padding="0">
                <Button.Content>
                    <Image Source="/Puzzle;component/Numeros/02.jpg" Stretch="Uniform"></Image>
                </Button.Content>
            </Button>
            <Button Grid.Row="0" Grid.Column="2" x:Name="btn3" Width="110" Height="110" Padding="0">
                <Button.Content>
                    <Image Source="/Puzzle;component/Numeros/03.jpg"></Image>
                </Button.Content>
            </Button>
            <Button Grid.Row="0" Grid.Column="3" x:Name="btn4" Width="110" Height="110" Padding="0">
                <Button.Content>
                    <Image Source="/Puzzle;component/Numeros/04.jpg"></Image>
                </Button.Content>
            </Button>
            <Button Grid.Row="1" Grid.Column="0" x:Name="btn5" Width="110" Height="110" Padding="0">
                <Button.Content>
                    <Image Source="/Puzzle;component/Numeros/5.jpg"></Image>
                </Button.Content>
            </Button>
            <Button Grid.Row="1" Grid.Column="1" x:Name="btn6" Width="110" Height="110" Padding="0">
                <Button.Content>
                    <Image Source="/Puzzle;component/Numeros/06.jpg"></Image>
                </Button.Content>
            </Button>
            <Button Grid.Row="1" Grid.Column="2" x:Name="btn7" Width="110" Height="110" Padding="0">
                <Button.Content>
                    <Image Source="/Puzzle;component/Numeros/07.jpg"></Image>
                </Button.Content>
            </Button>
            <Button Grid.Row="1" Grid.Column="3" x:Name="btn8" Width="110" Height="110" Padding="0">
                <Button.Content>
                    <Image Source="/Puzzle;component/Numeros/08.jpg"></Image>
                </Button.Content>
            </Button>
            <Button Grid.Row="2" Grid.Column="0" x:Name="btn9" Width="110" Height="110" Padding="0">
                <Button.Content>
                    <Image Source="/Puzzle;component/Numeros/09.jpg"></Image>
                </Button.Content>
            </Button>
            <Button Grid.Row="2" Grid.Column="1" x:Name="btn10" Width="110" Height="110" Padding="0">
                <Button.Content>
                    <Image Source="/Puzzle;component/Numeros/10.jpg"></Image>
                </Button.Content>
            </Button>
            <Button Grid.Row="2" Grid.Column="2" x:Name="btn11" Width="110" Height="110" Padding="0">
                <Button.Content>
                    <Image Source="/Puzzle;component/Numeros/11.jpg"></Image>
                </Button.Content>
            </Button>
            <Button Grid.Row="2" Grid.Column="3" x:Name="btn12" Width="110" Height="110" Padding="0">
                <Button.Content>
                    <Image Source="/Puzzle;component/Numeros/12.jpg"></Image>
                </Button.Content>
            </Button>
            <Button Grid.Row="3" Grid.Column="0" x:Name="btn13" Width="110" Height="110" Padding="0">
                <Button.Content>
                    <Image Source="/Puzzle;component/Numeros/13.jpg"></Image>
                </Button.Content>
            </Button>
            <Button Grid.Row="3" Grid.Column="1" x:Name="btn14" Width="110" Height="110" Padding="0">
                <Button.Content>
                    <Image Source="/Puzzle;component/Numeros/14.jpg"></Image>
                </Button.Content>
            </Button>
            <Button Grid.Row="3" Grid.Column="2" x:Name="btn15" Width="110" Height="110" Padding="0">
                <Button.Content>
                    <Image Source="/Puzzle;component/Numeros/15.jpg"></Image>
                </Button.Content>
            </Button>
        </Grid>
        </StackPanel>
    </Grid>
 
    <!--Sample code showing usage of ApplicationBar-->
    <!--<phone:PhoneApplicationPage.ApplicationBar>
        <shell:ApplicationBar IsVisible="True" IsMenuEnabled="True">
            <shell:ApplicationBarIconButton IconUri="/Images/appbar_button1.png" Text="Button 1"/>
            <shell:ApplicationBarIconButton IconUri="/Images/appbar_button2.png" Text="Button 2"/>
            <shell:ApplicationBar.MenuItems>
                <shell:ApplicationBarMenuItem Text="MenuItem 1"/>
                <shell:ApplicationBarMenuItem Text="MenuItem 2"/>
            </shell:ApplicationBar.MenuItems>
        </shell:ApplicationBar>
    </phone:PhoneApplicationPage.ApplicationBar>-->

</phone:PhoneApplicationPage>
